package com.pm2.entity.plan;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicUpdate;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 项目计划-主计划
 * @author qin
 *
 */
@Entity
@Table(name="db_pm2_plan_masterplan_history")
@DynamicUpdate
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MasterPlanHistory {
	// @Fields id : 项目主键
	@Id @Column(name="id")
	@GeneratedValue(strategy=GenerationType.AUTO)
	int id;	 
		
	// @Fields pid : 父计划
	int pid;
	
	// @Fields project_id : 项目编号
	int project_id;
	
	// @Fields plan_name : 计划名称
	String plan_name;
	
	// @Fields plan_content : 计划内容
	String plan_content;
		
	
	// @Fields plan_start_date : 计划起始时间
	Date plan_start_date;
	
	// @Fields plan_end_date : 计划结束时间
	Date plan_end_date;
	
	// @Fields plan_manday : 计划人天
	int plan_manday;
	
	String project_stage;
	
	String task_level_1;
	
	String task_level_2;
	
	String task_level_3;
	
	int sort_number;
	
	// @Fields change_reason : 变更原因
	String change_reason;
	
	// @Fields developers : 变更涉及开发人员
	String developers;
	
}
